package com.haipumi.biz.impl;

import java.util.List;

import com.haipumi.beans.haipumi_exchangelist;
import com.haipumi.biz.IBackExchangeBiz;
import com.haipumi.dao.IBackExchangeDao;
import com.haipumi.dao.impl.BackExchangeDaoImpl;

public class BackExchangeBizImpl implements IBackExchangeBiz {

	IBackExchangeDao ibed=new BackExchangeDaoImpl();
	@Override
	public List<haipumi_exchangelist> findallexchangelist() {
		List<haipumi_exchangelist>exchangelist=null;
		exchangelist=ibed.findallexchangelist();
		
		return exchangelist;
	}

	@Override
	public int countAllexchangelist() {
		int r=0;
		r=ibed.countAllexchangelist();
		return r;
	}

	@Override
	public haipumi_exchangelist updateexchangelist(
			haipumi_exchangelist exchangelist) {
		haipumi_exchangelist backexchangelist=null;
		backexchangelist=ibed.updatExchangeList(exchangelist);
		return backexchangelist;
	}

}
